summaryrefslogtreecommitdiffhomepage
path: root/files/libxml2/bin/%[_target]-xml2-config
blob: fe809143b56eb27a198db75c6de29c1577221a58 (plain)
1
2
3
4
5
6
7
#!/bin/sh

PREFIX=""; [ ${PREFIX:="${0%/*}"} = "${0}" ] && PREFIX="."; PREFIX="${PREFIX:+${PREFIX}/}..";
case "${1}" in
--cflags)	printf "-I${PREFIX}/include/libxml2\n"; ;;
--libs)		printf "-L${PREFIX}/lib -lxml2 -lz -llzma -lpthread -lm\n"; ;;
esac;